﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EzyConfigurator
{
    public class Data
    {
        public class LoginData
        {
            public string clientCode { get; set; } = "";
            public string password { get; set; }
            public string schoolCode { get; set; } = "sxz";
            public string smsVerificationCode { get; set; } = "";
            public string userName { get; set; }
        }

        public class CommonReturnData
        {
            public int code { get; set; }
            public string msg { get; set; }
            public string data { get; set; }
        }

        public class UserInfo
        {
            public string token { get; set; }
            public int userId { get; set; }
            public string realName { get; set; }
            public int roleType { get; set; }
            public string ezyServer { get; set; }
            public object mobile { get; set; }
            public object clientCode { get; set; }
            public string accessKeyId { get; set; }
            public string accessKeySecret { get; set; }
            public string securityToken { get; set; }
        }

        public class OssAccessReturnData
        {
            public string accessKeyId { get; set; }
            public string accessKeySecret { get; set; }
            public string securityToken { get; set; }
            public string requestId { get; set; }

        }

        public class AddFileData
        {
            public string fileId { get; set; }
            public string fileName { get; set; }
            public string fileUrl { get; set; }
            public string parentId { get; set; }
            public int type { get; set; }
        }


        public class FileModel
        {
            public string filePath { get; set; }
            public string fileType { get; set; }
            public string fileStatus { get; set; }
        }
    }
}
